<?php

// APRESENTA PAGINA REQUISITADA DO MENU :
        if ( substr($_SERVER[REQUEST_URI], -19, 13) == "institucional" ) : include TEMPLATEPATH . "/institucional.php"; 
        
        
        elseif ( substr($_SERVER[REQUEST_URI], -22, 16) == "areas-de-atuacao" ) : include TEMPLATEPATH . "/areas-de-atuacao.php"; 
        
        
        elseif ( substr($_SERVER[REQUEST_URI], -17, 11) == "informativo" ) : include TEMPLATEPATH . "/informativo.php";
        
            
        elseif ( substr($_SERVER[REQUEST_URI], -17, 11) == "links-uteis" ) : include TEMPLATEPATH . "/links-uteis.php"; 
            
            
        elseif ( substr($_SERVER[REQUEST_URI], -13, 7) == "contato" ) : include TEMPLATEPATH . "/contato.php"; 
        
        
        // A CONTRUCAO ABAIXO NAO E NECESSARIA PORQUE HOME.PHP E UMA PAGINA RESERVADA
        //elseif ( substr($_SERVER[REQUEST_URI], -5, 4) == "home" ) : include TEMPLATEPATH . "/home.php"; 
        
        
        else : include TEMPLATEPATH . "/pager.php";
        
        
        endif 
        
 ?>